#ifndef NODE_H
#define NODE_H

#include <iostream>
#include "Data.h"

class Node
{
	protected:
		Data * data;
		Node * next;

	public:
		Node();
		virtual ~Node();

		void setData(Data* datos);
		Data* getData();

		void setNext(Node* nodo);
		Node* getNext();
};

#endif
 
